//
//  HJEaseManager.h
//  Sneakers
//
//  Created by 胡光健 on 2017/10/13.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HJEaseManager : NSObject

+ (NSString *)easeMobUserNameWithPhone:(NSString *)phone;

/// 登录环信
+ (void)loginWithCompletion:(void (^)(BOOL success))completion;

/// 注销环信登录
+ (void)logout;

// 注册客服
+ (void)registerWithHErrorCompletion:(void (^)(BOOL success))completion;

/// 登录客服
+(void)loginChatClientWithCompletion:(void (^)(BOOL success))completion;
+(void)loginOut;
@end
